<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="utf-8">
	<title>首页--layui后台管理模板</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="../layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="//at.alicdn.com/t/font_eolqem241z66flxr.css" media="all" />
	<link rel="stylesheet" href="../css/main.css" media="all" />
</head>
<body class="childrenBody">


	<div class="row">

		<div class="sysNotice col layui-form">
			<blockquote class="layui-elem-quote title">系统基本参数</blockquote>
			<form method="post" id="form" th:action="@{/admin/settings/save}" >
				<table class="layui-table">
					<colgroup>
						<col width="150">
						<col>
					</colgroup>
					<tbody>
						<tr th:each="settings,settingsStat : ${list}">
							<input th:value="${settings.id}" name="id" type="hidden">
							<td th:text="${settings.name}"></td>
							<td class="version">
								<!--<input type="checkbox" name="show" lay-skin="switch" lay-text="是|否" th:value="${settings.status}" th:attr="channel=${settings.id}"  th:checked="${settings.status == 1}" lay-filter="isShow">-->
								<!--<div class="layui-unselect layui-form-switch" lay-skin="_switch">-->
									<!--<em>否</em>-->
									<!--<i></i>-->
								<!--</div>-->
								<input type="text" name="title" required="" lay-verify="required" name="status" th:value="${settings.status}" placeholder="请输入标题" autocomplete="off" class="layui-input">
							</td>
							<td>
								<button class="layui-btn" lay-submit="" lay-filter="addSettings" id="addSettings">立即保存</button>
							</td>
						</tr>
					</tbody>
				</table>
			</form>
		</div>
	</div>

	<script type="text/javascript" th:src="@{/layui/layui.js}"></script>
	<script type="text/javascript" th:src="@{/js/main.js}"></script>
</body>
</html>